import Vue from 'vue'
import Vuex from 'vuex'
import common from './modules/common'         // 获取用户通用信息模块
import statistics from './modules/statistics' // 打卡统计模块

Vue.use(Vuex)

const debug = process.env.NODE_ENV !== 'production'

export default new Vuex.Store({
  modules: {
    common,
    statistics
  },
  strict: debug
})
